package com.aizuda.boot.modules.business.employee.service;

import com.aizuda.boot.modules.business.department.domain.response.EmployeePermissionVO;
import com.aizuda.boot.modules.business.employee.domain.request.EmployeeQueryVO;
import com.aizuda.boot.modules.business.employee.domain.response.EmployeeQueryShowVO;
import com.aizuda.boot.modules.business.permission.domain.entity.EmployeeEntity;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * 用户服务类
 * @author duanyao
 * @date 2021/12/13 20:17
 */
public interface EmployeeService extends IService<EmployeeEntity> {



    List<EmployeeQueryShowVO> queryEmployee(EmployeeQueryVO query);

    /**
     * 根据员工ID列表查询员工信息
     * @param employeeIds 员工ID列表
     * @return 员工信息列表
     */
    List<EmployeeQueryShowVO> queryEmployeeByIds(List<Long> employeeIds);

    /**
     * 查询当前登录员工权限
     * @return
     */
    EmployeePermissionVO queryPermission(Long employeeId);

    /**
     *
     * @param employeeId
     * @return
     */
    Integer getTenantId(Long employeeId);
}
